<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/16
  Time: 18:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>公寓系统 - 租赁合同添加</title>
    <link rel="stylesheet" href="../../css/main.css">
    <link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>添加租赁合同</h3>
    <form action="<c:url value="/user/contractAdd?pageNo=${pageUtil.pageNo}"/>" method="post">
        <table class="form-table">
            <tr>
                <td>数量</td>
                <td colspan="3" class="control">
                    <input type="text" name="cnum" placeholder="合同数量" >
                </td>
            </tr>
            <tr>
                <td>房屋序号</td>
                <td colspan="3" class="control">
                    <input type="text" name="chid" placeholder="房间序号">
                </td>
            </tr>
            <tr>
                <td>租户序号</td>
                <td colspan="3" class="control">
                    <input type="text" name="clid" placeholder="租户序号" >
                </td>
            </tr>
            <tr>
                <td>时间</td>
                <td colspan="3" class="control">
                    <input type="date" name="ctime" placeholder="时间">
                </td>
            </tr>
            <tr>
                <td>开始时间</td>
                <td colspan="3" class="control">
                    <input type="date" name="cstartTime" placeholder="开始时间">
                </td>
            </tr>
            <tr>
                <td>结束时间</td>
                <td colspan="3" class="control">
                    <input type="date" name="cendTime" placeholder="结束时间" >
                </td>
            </tr>
            <tr>
                <td>价格</td>
                <td colspan="3" class="control">
                    <input type="text" name="ctotalMoney" placeholder="价格" >
                </td>
            </tr>
            <tr>
                <td>付款类型</td>
                <td colspan="3" class="control">
                    <input type="text" name="cpayType" placeholder="付款类型">
                </td>
            </tr>
            <tr>
                <td><span>${err}</span></td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>